import request from '@/config/axios'

//新技术申请配置
export const newTechApplyConfig = (params) => {
  return request.post({ url: '/biz/modularity/project1731487484814981/newTechApplyConfig',data:params})
}
//查询新技术的申请配置
export const getNewTechConfig = (params) => {
  return request.post({ url: '/biz/modularity/project1731487484814981/getNewTechConfig',data:params})
}

//根据技术父id查询列表
export const getTechByParentId = (params) => {
  return request.post({ url: '/biz/modularity/project1731487484814981/getTechByParentId',data:params})
}

//查询资质配置列表
export const getTechAuthBasicList = (params) => {
  return request.post({ url: '/biz/modularity/project1731487484814981/getTechAuthBasicList',data:params})
}

//保存资质配置
export const saveTechAuthRule = (params) => {
  return request.post({ url: '/biz/modularity/project1731487484814981/saveTechAuthRule',data:params})
}

//查询技术的配置
export const getAuthRuleByTechId = (params) => {
  return request.post({ url: '/biz/modularity/project1731487484814981/getAuthRuleByTechId',data:params})
}

//保存资质配置
export const saveTechAuthBasic = (params) => {
  return request.post({ url: '/biz/modularity/project1731487484814981/saveTechAuthBasic',data:params})
}

//查询职务列表
export const getJobPage = () => {
  return request.post({ url: '/biz/modularity/project1731487484814981/getPostSelectList'})
}
//查询工作组列表
export const getWorkGroupPage = () => {
  return request.post({ url: '/biz/modularity/project1731487484814981/getWrokGroupList'})
}

//查询员工列表
export const searchAllMedicalUsers = () => {
  return request.post({ url: '/biz/modularity/project1731487484814981/getMedicalUser'})
}

//查询技术的分类或类别列表
export const getTechTypeList = (params) => {
  return request.post({ url: '/biz/modularity/project1731487484814981/getTechTypeList',data:params})
}

//查询用户未授权的技术树
export const getNotAuthedTechTree = (params) => {
  return request.post({ url: '/biz/modularity/project1731487484814981/getUserNotAuthedTechTree',data:params})
}

//查询用户已授权的技术树
export const getUserAuthedTechTree = (params) => {
  return request.post({ url: '/biz/modularity/project1731487484814981/getUserAuthedTechTree',data:params})
}

//人员授权
export const userAuth = (params) => {
  return request.post({ url: '/biz/modularity/project1731487484814981/userAuth',data:params})
}